package com.wanmait.spacesys.vo;

import java.sql.Timestamp;

public class Post {

	private Integer id;
	private String title; //标题
	private String content; //帖子内容
	private Integer userinfoId; //发布人
	private Timestamp pubTime; //帖子发布时间
	private Integer praised; //帖子被点赞次数
	private Integer collected;//帖子被收藏次数
	private Userinfo userinfo; //用户信息
	private boolean ispass;
	private boolean enable;
	
	public boolean isIspass() {
		return ispass;
	}
	public void setIspass(boolean ispass) {
		this.ispass = ispass;
	}
	public boolean isEnable() {
		return enable;
	}
	public void setEnable(boolean enable) {
		this.enable = enable;
	}
	public Userinfo getUserinfo() {
		return userinfo;
	}
	public void setUserinfo(Userinfo userinfo) {
		this.userinfo = userinfo;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getUserinfoId() {
		return userinfoId;
	}
	public void setUserinfoId(Integer userinfoId) {
		this.userinfoId = userinfoId;
	}
	public Timestamp getPubTime() {
		return pubTime;
	}
	public void setPubTime(Timestamp pubTime) {
		this.pubTime = pubTime;
	}
	public Integer getPraised() {
		return praised;
	}
	public void setPraised(Integer praised) {
		this.praised = praised;
	}
	public Integer getCollected() {
		return collected;
	}
	public void setCollected(Integer collected) {
		this.collected = collected;
	}
}
